home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir37 / ushell.zip / INSTALL next >
Text File  |  1990-02-19  |  3KB  |  68 lines

  1.  MS-DOS Shell Version 1.4    INSTALL                January 1990
  2.  
  3.  MS-DOS SHELL - Copyright (c) 1990 Data Logic Limited and Charles Forsyth
  4.  
  5.  This code is based on (in part) the shell program written by Charles
  6.  Forsyth and is subject to the following copyright restrictions:
  7.  
  8.  1.  Redistribution and use in source and binary forms are permitted
  9.      provided that the above copyright notice is duplicated in the
  10.      source form and the copyright notice in file sh6.c is displayed
  11.      on entry to the program.
  12.  
  13.  2.  The sources (or parts thereof) or objects generated from the
  14.      sources (or parts of sources) cannot be sold under any circumstances.
  15.  
  16.     $Header: install 1.1 90/01/29 18:03:04 MS_user Exp $
  17.  
  18.     $Log:    install $
  19. # Revision 1.1  90/01/29  18:03:04  MS_user
  20. # Initial revision
  21. ________________________________________________________________________________
  22.  
  23. To rebuild and install the shell, you should follow the following the
  24. steps:
  25.  
  26. 1)  Load the include files in the include directory into the standard
  27.     location (\msc\include or equivalent).  Read CHANGES file for the
  28.     additional definitions which are required in the standard Microsoft
  29.     5 include files and edit them in to the appropriate files.
  30.  
  31.     We have standardised our MSDOS and Unix include files such that
  32.     the same include file exists our Unix system and MSDOS systems.
  33.     This makes porting a lot easier.  If you don't want to edit the
  34.     standard include files, you will have to generate an new include
  35.     file for the shell and include it as the first include in all the
  36.     C sources for the additional library functions and the Shell itself
  37.  
  38. 2)  Modify the library function open so that the O_NOINHERIT flag is
  39.     passed to MSDOS by the library.  This is not strictly necessary.
  40.     I did it using CodeView to see where the library function masks
  41.     the bottom three bits, noted the bytes around this location,
  42.     extracted the open function from the library, patched the mask
  43.     to be 0x83 instead of 0x03, and then replaced the function in the
  44.     library.
  45.  
  46. 3)  Compile the library files in the directory /lib in large model mode
  47.     and add the objects to your large model library
  48.  
  49.     cl -c -AL -Olt *.c
  50.     <appropriate library commands>
  51.  
  52. 4)  Build the shell, either using make or
  53.  
  54.     cl -c -AL -Olt *.c
  55.     masm /Ml sh0.asm
  56.     link sh0+sh1+sh2+sh3+sh4+sh5+sh6+sh7+sh8+sh9+sh10/noi, sh.exe;
  57.  
  58.     Note that the order is important.  SH0.OBJ must be the first object
  59.     file in the load line.
  60.  
  61.     Install the shell in its correct location.
  62.  
  63. 5)  Modify the scripts as appropriate for your installation and install
  64.     them in the correct directories.
  65.  
  66. 6)  Type "sh -0" and see what happens.
  67.